package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ConversionNftDTO {

    @ApiModelProperty(value = "兑换id")
    @NotNull(message = "兑换id不能为空")
    private Long id;

    @ApiModelProperty(value = "兑换数量")
    @NotNull(message = "兑换数量不能为空")
    private Integer quantity;

    @ApiModelProperty(value = "支付密码")
    @NotBlank(message = "支付密码不能为空")
    private String paymentPassword;

}
